package cn.com.surker.material.dao;

import cn.com.surker.material.entity.MaterialWarehouseInventory;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 材料盘存记录 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2023-07-19
 */
public interface MaterialWarehouseInventoryDao extends BaseMapper<MaterialWarehouseInventory> {

	/**
	 * 查询盘存记录
	 * @return
	 */
	List<MaterialWarehouseInventory> lastInventory();


	@Override
	<E extends IPage<MaterialWarehouseInventory>> E selectPage(E page, @Param(Constants.WRAPPER) Wrapper<MaterialWarehouseInventory> queryWrapper);
}
